FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (78 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-Communication3to2.html
Url http://hl7.org/fhir/StructureMap/Communication3to2
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name Communication3to2
Title Communication Transforms: R3 to R2
Experimental False
Realm uv
Authority hl7
Description CommunicationTransformsR3toR2

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/Communication3to2'
/// name = 'Communication3to2'
/// title = 'Communication Transforms: R3 to R2'
/// status = 'active'

uses "http://hl7.org/fhir/3.0/Communication" alias Communication as source
uses "http://hl7.org/fhir/1.0/Communication" alias CommunicationR2 as target

imports "http://hl7.org/fhir/StructureMap/primitives3to2"
imports "http://hl7.org/fhir/StructureMap/DomainResource3to2"
imports "http://hl7.org/fhir/StructureMap/Attachment3to2"
imports "http://hl7.org/fhir/StructureMap/Identifier3to2"
imports "http://hl7.org/fhir/StructureMap/Reference3to2"
imports "http://hl7.org/fhir/StructureMap/CodeableConcept3to2"

group Communication(source src : Communication, target tgt : CommunicationR2) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier "Communication-identifier";
  src.category -> tgt.category "Communication-category";
  src.sender -> tgt.sender "Communication-sender";
  src.recipient -> tgt.recipient "Communication-recipient";
  src.payload as vs0 -> tgt.payload as vt0 then cmmPayload(vs0, vt0) "Communication-payload";
  src.medium -> tgt.medium "Communication-medium";
  src.status -> tgt.status "Communication-status";
  src.context -> tgt.encounter "Communication-encounter";
  src.sent -> tgt.sent "Communication-sent";
  src.received -> tgt.received "Communication-received";
  src.reasonCode -> tgt.reason "Communication-reason";
  src.subject -> tgt.subject "Communication-subject";
  src.basedOn -> tgt.requestDetail "Communication-requestDetail";
}

group cmmPayload(source src, target tgt) {
  src.content -> tgt.content "payload-content";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "Communication3to2",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/Communication3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'Communication3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'Communication Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/Communication<span style=\"color: navy\">&quot; </span><b>alias </b>Communication <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/Communication<span style=\"color: navy\">&quot; </span><b>alias </b>CommunicationR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-primitives3to2.html\" title=\"Primitive Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/primitives3to2</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-DomainResource3to2.html\" title=\"DomainResource Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/DomainResource3to2</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-Attachment3to2.html\" title=\"Attachment Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Attachment3to2</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-Identifier3to2.html\" title=\"Identifier Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Identifier3to2</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-Reference3to2.html\" title=\"Reference Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/Reference3to2</a><span style=\"color: navy\">&quot;\r\n</span><b>imports</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureMap-CodeableConcept3to2.html\" title=\"CodeableConcept Transforms: R3 to R2\">http://hl7.org/fhir/StructureMap/CodeableConcept3to2</a><span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>Communication<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>Communication, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>CommunicationR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;Communication-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category <i>&quot;Communication-category&quot;</i><span style=\"color: navy\">;</span>\r\n src.sender<span style=\"color: navy\"><b> -&gt; </b></span>tgt.sender <i>&quot;Communication-sender&quot;</i><span style=\"color: navy\">;</span>\r\n src.recipient<span style=\"color: navy\"><b> -&gt; </b></span>tgt.recipient <i>&quot;Communication-recipient&quot;</i><span style=\"color: navy\">;</span>\r\n src.payload<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.payload<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>cmmPayload<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;Communication-payload&quot;</i><span style=\"color: navy\">;</span>\r\n src.medium<span style=\"color: navy\"><b> -&gt; </b></span>tgt.medium <i>&quot;Communication-medium&quot;</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -&gt; </b></span>tgt.status <i>&quot;Communication-status&quot;</i><span style=\"color: navy\">;</span>\r\n src.context<span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter <i>&quot;Communication-encounter&quot;</i><span style=\"color: navy\">;</span>\r\n src.sent<span style=\"color: navy\"><b> -&gt; </b></span>tgt.sent <i>&quot;Communication-sent&quot;</i><span style=\"color: navy\">;</span>\r\n src.received<span style=\"color: navy\"><b> -&gt; </b></span>tgt.received <i>&quot;Communication-received&quot;</i><span style=\"color: navy\">;</span>\r\n src.reasonCode<span style=\"color: navy\"><b> -&gt; </b></span>tgt.reason <i>&quot;Communication-reason&quot;</i><span style=\"color: navy\">;</span>\r\n src.subject<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject <i>&quot;Communication-subject&quot;</i><span style=\"color: navy\">;</span>\r\n src.basedOn<span style=\"color: navy\"><b> -&gt; </b></span>tgt.requestDetail <i>&quot;Communication-requestDetail&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>cmmPayload<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span> src.content<span style=\"color: navy\"><b> -&gt; </b></span>tgt.content <i>&quot;payload-content&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/Communication3to2",
  "version" : "0.1.0",
  "name" : "Communication3to2",
  "title" : "Communication Transforms: R3 to R2",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "CommunicationTransformsR3toR2",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/3.0/Communication",
      "mode" : "source",
      "alias" : "Communication"
    },
    {
      "url" : "http://hl7.org/fhir/1.0/Communication",
      "mode" : "target",
      "alias" : "CommunicationR2"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/primitives3to2",
    "http://hl7.org/fhir/StructureMap/DomainResource3to2",
    "http://hl7.org/fhir/StructureMap/Attachment3to2",
    "http://hl7.org/fhir/StructureMap/Identifier3to2",
    "http://hl7.org/fhir/StructureMap/Reference3to2",
    "http://hl7.org/fhir/StructureMap/CodeableConcept3to2"
  ],
  "group" : [
    {
      "name" : "Communication",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "Communication",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "CommunicationR2",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "Communication-identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-category",
          "source" : [
            {
              "context" : "src",
              "element" : "category",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "category",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-sender",
          "source" : [
            {
              "context" : "src",
              "element" : "sender",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "sender",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-recipient",
          "source" : [
            {
              "context" : "src",
              "element" : "recipient",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "recipient",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-payload",
          "source" : [
            {
              "context" : "src",
              "element" : "payload",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "payload",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "cmmPayload",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-medium",
          "source" : [
            {
              "context" : "src",
              "element" : "medium",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "medium",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-encounter",
          "source" : [
            {
              "context" : "src",
              "element" : "context",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "encounter",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-sent",
          "source" : [
            {
              "context" : "src",
              "element" : "sent",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "sent",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-received",
          "source" : [
            {
              "context" : "src",
              "element" : "received",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "received",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-reason",
          "source" : [
            {
              "context" : "src",
              "element" : "reasonCode",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "reason",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-subject",
          "source" : [
            {
              "context" : "src",
              "element" : "subject",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subject",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "Communication-requestDetail",
          "source" : [
            {
              "context" : "src",
              "element" : "basedOn",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "requestDetail",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "cmmPayload",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "payload-content",
          "source" : [
            {
              "context" : "src",
              "element" : "content",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "content",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.